from lianxi_04_学生成绩案例 import score

# str1="helloword"
# result={}
# for i in str1:
#     result[i]=str1.count(i)
# print(result)

user = {"username":"wangwu","password":"admin"}
print(user)

students={"name":"小明","age":20,"score":90,"hobby":["足球","乒乓球","篮球"]}
print(students)

user["badboy"]="小男孩"
print(user)

aip=user.pop("badboy")
print(aip)

user["badboy"]="小男孩"
print(user)

del user["badboy"]
print(user)

